package com.hzdl.library.domain;

import java.util.Date;

public class LendList {

    private Integer sernum;
    private Integer book_id;
    private Integer reader_id;
    private Date lend_date;//借书日期
    private Date back_date;//还书日期


    public LendList() {
    }

    public LendList(Integer sernum, Integer book_id, Integer reader_id, Date lend_date, Date back_date) {
        this.sernum = sernum;
        this.book_id = book_id;
        this.reader_id = reader_id;
        this.lend_date = lend_date;
        this.back_date = back_date;
    }

    public Integer getSernum() {
        return sernum;
    }

    public void setSernum(Integer sernum) {
        this.sernum = sernum;
    }

    public Integer getBook_id() {
        return book_id;
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    public Integer getReader_id() {
        return reader_id;
    }

    public void setReader_id(Integer reader_id) {
        this.reader_id = reader_id;
    }

    public Date getLend_date() {
        return lend_date;
    }

    public void setLend_date(Date lend_date) {
        this.lend_date = lend_date;
    }

    public Date getBack_date() {
        return back_date;
    }

    public void setBack_date(Date back_date) {
        this.back_date = back_date;
    }

    @Override
    public String toString() {
        return "LendList{" +
                "sernum=" + sernum +
                ", book_id=" + book_id +
                ", reader_id=" + reader_id +
                ", lend_date=" + lend_date +
                ", back_date=" + back_date +
                '}';
    }
}
